from rest_framework import exceptions
from rest_framework import status

class VerifyCodeThrottledException(exceptions.APIException):
    status_code = status.HTTP_429_TOO_MANY_REQUESTS
    default_code = 'throttled'